@echo off
rem This batch generates the xml persistent classes with the xsd.exe tool
rem syntax:
rem makexsd <spreadsheetdir>
set SPREADSHEETDIR=%2
cd %1
ATTRIB -R %SPREADSHEETDIR%\*.*
XSD.EXE %SPREADSHEETDIR%\GalaxyConfigurations.xsd /classes /n:Majesty_of_Omega.Config /o:%SPREADSHEETDIR%
XSD.EXE %SPREADSHEETDIR%\Starnames.xsd /classes /n:Majesty_of_Omega.Config /o:%SPREADSHEETDIR%
XSD.EXE %SPREADSHEETDIR%\Starclasses.xsd /classes /n:Majesty_of_Omega.Config /o:%SPREADSHEETDIR%
XSD.EXE %SPREADSHEETDIR%\PlanetConfiguration.xsd /classes /n:Majesty_of_Omega.Config /o:%SPREADSHEETDIR%
XSD.EXE %SPREADSHEETDIR%\RaceModifiers.xsd /classes /n:Majesty_of_Omega.Config /o:%SPREADSHEETDIR%
XSD.EXE %SPREADSHEETDIR%\DeaConfiguration.xsd /classes /n:Majesty_of_Omega.Config /o:%SPREADSHEETDIR%
rem XSD.EXE %SPREADSHEETDIR%\TechTables.xsd /classes /n:Majesty_of_Omega.Config /o:%SPREADSHEETDIR%
rem XSD.EXE %SPREADSHEETDIR%\SitReportTable.xsd /classes /n:Majesty_of_Omega.Config /o:%SPREADSHEETDIR%
rem XSD.EXE %SPREADSHEETDIR%\ResearchConfiguration.xsd /classes /n:Majesty_of_Omega.Config /o:%SPREADSHEETDIR%
rem XSD.EXE %SPREADSHEETDIR%\MusicPack.xsd /classes /n:Majesty_of_Omega.Config /o:%SPREADSHEETDIR%
XSD.EXE %SPREADSHEETDIR%\Credits.xsd /classes /n:Majesty_of_Omega.Config /o:%SPREADSHEETDIR%


